<?php
/**
 *
 * PHP versions 4 and 5
 *
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
 * @link          http://cakephp.org CakePHP(tm) Project
 * @package       cake
 * @subpackage    cake.cake.console.libs.templates.skel.views.layouts
 * @since         CakePHP(tm) v 0.10.0.1076
 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
 */
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--<html xmlns="http://www.w3.org/1999/xhtml">-->
<html>
<head>
	<?php echo $this->Html->charset('UTF-8'); ?>
	<title>
		<?php __('Chương trình hỗ trợ nhập liệu cho phòng tài chính Quân khu 9)'); ?>
		<?php echo $title_for_layout; ?>
	</title>
	<?php
		echo $this->Html->meta('icon');
		echo $html->css(array('style', 'ddsmoothmenu'));
		echo $this->Html->css('cake.generic');

		echo $scripts_for_layout;
	?>
</head>
<body>
<!--	<div id="art-page-background-simple-gradient">
    </div> -->
    <div id="art-main">

<!--	 <div class="art-Sheet">-->
        	
       <!--      <div class="art-Sheet-tl"></div>
            <div class="art-Sheet-tr"></div>
            <div class="art-Sheet-bl"></div>
            <div class="art-Sheet-br"></div>
            <div class="art-Sheet-tc"></div>
            <div class="art-Sheet-bc"></div>
            <div class="art-Sheet-cl"></div>
            <div class="art-Sheet-cr"></div>
            <div class="art-Sheet-cc"></div> 
           <div class="art-Sheet-body"> -->

	
         <div class="art-Header">
                    <div class="art-Header-jpeg"></div>
                   
                      </div>

          <div class="art-Header1">             
    <?php 
   if($curUser['User']['username']=='admin') 
   	echo $this->element('admin-menu');
    else echo $this->element('user-menu')
    ?>            
                 </div>
					<div class="art-user">
           <p align="right">
								Xin chào 

								<?php 
									echo $curUser['User']['username'].',&nbsp;&nbsp;';  
                  ?>

                  <?php                                  
									echo $html->link('Thoát ra', array('controller'=>'users', 'action'=>'logout'));
								?> </p>
	                </div>
	     

<center>

		<div id="content">

			<?php echo $this->Session->flash(); ?>

			<?php echo $content_for_layout; ?>
			
		</div>
		
		</center>
		 <div class="cleared"></div>
		<div class="art-Footer">
                    <div class="art-Footer-inner">
                        <div class="art-Footer-text">
                            <p>Copyright &copy; 2014<br>Website này chạy tốt nhất trên trình duyệt Firefox và Chrome</p>
                        </div>
                    </div>
                    <div class="art-Footer-background"></div>
                </div>
                <div class="cleared"></div>
              <!--   </div>-->
	</div>
	<?php echo $this->element('sql_dump'); ?>
</body>
</html>